package com.common.base.tools.utils

import com.elvishew.xlog.LogLevel
import com.elvishew.xlog.flattener.Flattener2

/**
 * 三疯
 * *************************
 *
 * *************************
 */
class MyEncryptFlattener : Flattener2 {

    override fun flatten(
        timeMillis: Long,
        logLevel: Int,
        tag: String?,
        message: String?
    ): CharSequence {
        return (timeMillis.toString()
                + '|' + LogLevel.getShortLevelName(logLevel)
                + '|' + tag
                + '|' + message)
    }
}